import { Game2048Model } from "./Game2048Model";

export abstract class LevelScript_2048{
    data:Game2048Model

    constructor(data:Game2048Model){
        this.data = data;
    }

    abstract initGame():void;
    abstract startGame():void;
    abstract pauseGame():void;
    abstract reuseGame():void;
    abstract endGame():void;
    abstract isEnd():boolean;
    /**按方向合并，返回新棋子的位置 */
    abstract merge(direction: number) :number[];

}